# Tanım: Numix ve Materia temaları, gnome-renkler ve ArchDroid simge temaları farklı renk varyasyonları oluşturmak için grafik uygulama.
# URL: https://github.com/themix-project/oomox
# Paketçi: Cihan_Alkan
# Gerekler: gtk3 python3-gobject glib gdk-pixbuf gtk-engine-murrine gtk-engines librsvg findutils polkit imagemagick optipng inkscape python3-pillow sassc 
# Grup:

isim=oomox
surum=1.6.1+3+g61aeec81
devir=1

kaynak=()

derle() {

	git_indir https://github.com/themix-project/oomox.git oomox
	git_indir https://github.com/themix-project/oomox-gtk-theme.git oomox-gtk-theme
	git_indir https://github.com/nana-4/materia-theme.git materia-theme
	git_indir https://github.com/themix-project/archdroid-icon-theme.git archdroid-icon-theme
	git_indir https://github.com/themix-project/gnome-colors-icon-theme.git gnome-colors-icon-theme
	git_indir https://github.com/themix-project/oomoxify.git oomoxify
	git_indir https://github.com/base16-builder/base16-builder base16-builder

	cd "${SRC}/oomox"
	git describe | sed 's/^v//;s/-/+/g'

	git submodule init
	git config submodule.gtk-theme.url $SRC/oomox-gtk-theme
	git config submodule.materia-theme.url $SRC/materia-theme
	git config submodule.archdroid-icon-theme.url $SRC/archdroid-icon-theme
	git config submodule.gnome-colors-icon-theme.url $SRC/gnome-colors-icon-theme
	git config submodule.oomoxify.url $SRC/oomoxify
	git config submodule.base16-builder.url $SRC/base16-builder
	git submodule update

	./packaging/install.sh ./ "${PKG}"
	python3 -O -m compileall ${PKG}/opt/oomox/oomox_gui
}
